package br.unip.tcc.domotic.trash;

import java.util.Set;

import br.unip.tcc.domotic.util.ClassScanner;

public class Main {
	
	public static void main(String[] args) throws Exception {
		
		System.out.println("iniciou");
		
		//Set<Class<?>> classes = ClassScanner.getClasses("br.unip.tcc.domotic.orm");
		@SuppressWarnings("unchecked")
		Set<Class<?>> classes = ClassScanner.findByAnnotations("br.unip.tcc.domotic.orm", javax.faces.bean.RequestScoped.class, javax.faces.bean.SessionScoped.class);
		
		
		//AnnotatedClassFinder finder = AnnotatedClassFinder.getInstance("br.unip.tcc.domotic.orm");
		//Set<Class<?>> classes = finder.findByAnnotation(javax.faces.bean.RequestScoped.class);
		for (Class<?> clazz : classes){
			System.out.println(clazz.getName());
		}
		System.out.println("terminou");
		
	}
	
}
